import configparser

ONLINE_CONFIG_FILE = 'config.ini'

config = configparser.ConfigParser()
config.read(ONLINE_CONFIG_FILE)

OSS_CONFIG = {}
OSS_CONFIG['end_point'] = config.get('oss', 'end_point')    
OSS_CONFIG['access_id'] = config.get('oss', 'access_id')
OSS_CONFIG['access_key'] = config.get('oss', 'access_key')

if __name__ == '__main__':
    print(OSS_CONFIG)